package com.platform.enums;

import lombok.Getter;

/**
 * Description: 是否可以访问下级枚举类
 *
 **/
public enum AccessSubOrg {
    /**
     * 否
     */
    N("0", "否"),

    /**
     * 是
     */
    Y("1", "是");

    @Getter
    private final String code;
    @Getter
    private final String text;

    AccessSubOrg(String code, String text) {
        this.code = code;
        this.text = text;
    }
}
